package com.dreamwhale.machinery.dao;

import com.dreamwhale.machinery.entity.UserShopCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商户收藏表 Mapper 接口
 * </p>
 *
 * @author Author
 * @since 2020-06-05
 */
public interface UserShopCollectMapper extends BaseMapper<UserShopCollect> {

    /**
     * 查询我收藏的店铺
     *
     * @param userId
     * @return
     */
    List<UserShopCollect> selectUserShopCollects(@Param("userId") Integer userId);
}
